/*
 * @Author: zhouhx
 * @Description: 数据库文档
 * @Date: 2023/3/31 13:32
 */
import service from '@/utils/request'

export function exportHtml(datasourceId) {
	return service({
		url: '/screw/db-doc/export-html?datasourceId='+datasourceId,
		method: 'get',
		responseType: 'blob'
	})
}

export function exportWord(datasourceId) {
	return service({
		url: '/screw/db-doc/export-word?datasourceId='+datasourceId,
		method: 'get',
		responseType: 'blob'
	})
}

export function exportMarkdown(datasourceId) {
	return service({
		url: '/screw/db-doc/export-markdown?datasourceId='+datasourceId,
		method: 'get',
		responseType: 'blob'
	})
}

